﻿namespace Basic.FlowRemoteModel.FlowAuditInter.Model
{
    /// <summary>
    /// 审核项
    /// </summary>
    public class AuditLogItem
    {
        /// <summary>
        /// 审核项ID
        /// </summary>
        public long Id
        {
            get;
            set;
        }
        /// <summary>
        /// 批次号
        /// </summary>
        public long BatchNo
        {
            get;
            set;
        }
        /// <summary>
        /// 公司ID
        /// </summary>
        public long CompanyId { get; set; }
        /// <summary>
        /// 审核人ID
        /// </summary>
        public long EmpId { get; set; }
        /// <summary>
        /// 审核人单位ID
        /// </summary>
        public long EmpByUnitId { get; set; }
        /// <summary>
        /// 审核人部门ID
        /// </summary>
        public long EmpByDeptId { get; set; }

        /// <summary>
        /// 流程项最终审核状态
        /// </summary>
        public FlowAuditItemStatus Status { get; set; }

        /// <summary>
        /// 用户审核状态
        /// </summary>
        public FlowAuditItemStatus AuditState { get; set; }

        /// <summary>
        /// 子流程审核状态
        /// </summary>
        public FlowSubAuditStatus SubFlowState { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 审批意见
        /// </summary>
        public string AuditOpinion { get; set; }
    }
}
